FROM registry.cn-hangzhou.aliyuncs.com/wangxuancheng/node-alpine:latest

WORKDIR /www/wwwroot/www.dbyxs.club/pc

COPY package*.json ./

RUN npm install --registry=https://registry.npm.taobao.org

COPY . .

RUN npm run build

COPY /dist  /www/wwwroot/www.dbyxs.club/pc

ENTRYPOINT ["/bin/bash"]